com\cminds\maplocations\model\Route D

Total Complexity 148
Dependencies 13
Dependents 17
Total lines 814
Lines of code 596
Logical lines of code 282
Comment lines 23
Methods 68
Properties 6

Methods 68

Method Rating Maintainability Complexity Lines of code
checkAccess()
A
53 9 22
findLocationByAddress()
A
55 8 18
importCategoriesNames()
A
56 8 17
getFormattedDistance()
S
56 6 18
getIconUrl()
S
60 6 13
setImages()
S
56 5 15
canEdit()
S
60 5 12
updateLocationsAltitudes()
S
61 5 12
getIndexMapJSLocations()
S
48 3 32
formatLength()
S
58 4 16
setCategoriesNames()
S
61 4 12
addDefaultCategory()
S
61 4 12
registerQueryOrder()
S
59 3 16
formatTime()
S
61 3 12
getLocation()
S
64 3 11
save()
S
64 3 11
getImagesIds()
S
57 2 17
getLocationsIds()
S
59 2 15
getAddress()
S
68 3 8
getLocations()
S
59 2 14
getJSLocations()
S
51 1 27
didUserRate()
S
61 2 12
getRelatedRoutes()
S
52 1 26
getPostTypeLabels()
S
55 1 18
getCategories()
S
68 2 7
getImages()
S
70 2 7
canCreate()
S
64 2 10
canView()
S
66 2 9
canViewIndex()
S
65 2 9
rate()
S
64 2 9
getShortDescription()
S
67 2 7
formatElevation()
S
66 2 8
formatSpeed()
S
67 2 7
getIconSize()
S
73 2 5
getPostalCode()
S
74 2 5
init()
S
75 1 4
getInstance()
S
80 1 3
getEditUrl()
S
74 1 5
getTags()
S
79 1 3
setCategories()
S
78 1 3
getUserEditUrl()
S
79 1 3
getUserDeleteUrl()
S
71 1 6
canDelete()
S
81 1 3
getRate()
S
80 1 3
updateRatingCache()
S
65 1 9
canRate()
S
76 1 4
getVotesNumber()
S
69 1 7
getIcon()
S
80 1 3
setIconUrlCache()
S
77 1 4
setIcon()
S
80 1 3
setIconSize()
S
80 1 3
showWeatherPerLocation()
S
80 1 3
setWeatherPerLocation()
S
79 1 3
getPaginationLimit()
S
80 1 3
getPostMetaKey()
S
83 1 3
setLocationCache()
S
77 1 4
setViews()
S
76 1 4
getViews()
S
78 1 3
incrementViews()
S
80 1 3
getPermalink()
S
78 1 3
acceptByModerator()
S
72 1 5
trashByModerator()
S
76 1 4
isAcceptedByModerator()
S
80 1 3
setLat()
S
80 1 3
getLat()
S
81 1 3
setLong()
S
80 1 3
getLong()
S
81 1 3
getShortcodeTokensFuncMap()
S
67 1 8